/*
package com.longcai.mq.controller;

import com.longcai.mq.sender.FirstSender;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.UUID;

*/
/**
 * @author Administrator
 * @Title: SendController
 * @ProjectName clyj-electricity
 * @Description: TODO
 * @date 2019/3/2915:38
 *//*

@RestController
public class SendController {

    public static final Logger logger = LoggerFactory.getLogger(SendController.class);

    @Autowired
    private FirstSender firstSender;

    @GetMapping("/send")
    public String send(String message) {
        String uuid = UUID.randomUUID().toString();
        firstSender.send(uuid, message);
        logger.info("生产id" + uuid + "消息" + message);
        return uuid;
    }
}
*/
